package com.ysstech.activiti.feign;


import com.ysstech.common.util.resultutil.RestResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "yss-system", fallback = FeignRoleServiceFallback.class)
public interface FeignRoleService {


    /**
     * 角色流程回调方法
     *
     * @param roleId
     * @param status
     * @return
     */
    @RequestMapping(value = "/role/updateRoleStatus", method = RequestMethod.GET)
    RestResult updateRoleStatus(@RequestParam("roleId") String roleId, @RequestParam("status") String status);

}
